package goods

import "github.com/shopspring/decimal"

type GoodsSku struct {
	Id         int64
	Title      string
	Properties string
	Price      decimal.Decimal `gorm:"type:decimal(10,2)"`
	Stock      int             // 销售量
	GoodsId    int64
}

func (*GoodsSku) TableName() string {
	return "goods_sku"
}
